﻿using ProtoBuf;
namespace PnJ.Aliyun.OTS.Models
{
    /// <summary>
    /// 表示一个表设置的预留读写吞吐量数值
    /// </summary>
    [ProtoContract(Name = "ReservedThroughput")]
    public class ReservedThroughput
    {
        public ReservedThroughput()
        {

        }
        public ReservedThroughput(CapacityUnit capacityUnit)
        {
            this.CapacityUnit = capacityUnit;
        }
        private CapacityUnit capacityUnit = new CapacityUnit();
        /// <summary>
        /// 表当前的预留读写吞吐量数值
        /// </summary>
        [ProtoMember(1, Name = "capacity_unit",IsRequired=true)]
        public CapacityUnit CapacityUnit
        {
            get { return capacityUnit; }
            set { capacityUnit = value; }
        }

    }
}
